package com;

public class Weka {
	private String id;
	private String count1;
	private String percent1;
	private String count2;
	private String percent2;

	public Weka(String weka) {
		this.id = weka.split("\t")[0];
		if (weka.split("\t").length > 1) {
			this.count1 = weka.split("\t")[1];
			if (weka.split("\t").length > 2) {
				this.percent1 = weka.split("\t")[2];
				if (weka.split("\t").length > 3) {
					this.count2 = weka.split("\t")[3];
					if (weka.split("\t").length > 4) {
						this.percent2 = weka.split("\t")[4];
					}
				}
			}
		}
	}

	public Weka(String id, String count1, String percent1, String count2,
			String percent2) {
		this.id = id;
		this.count1 = count1;
		this.percent1 = percent1;
		this.count2 = count2;
		this.percent2 = percent2;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCount1() {
		return count1;
	}

	public void setCount1(String count1) {
		this.count1 = count1;
	}

	public String getPercent1() {
		return percent1;
	}

	public void setPercent1(String percent1) {
		this.percent1 = percent1;
	}

	public String getCount2() {
		return count2;
	}

	public void setCount2(String count2) {
		this.count2 = count2;
	}

	public String getPercent2() {
		return percent2;
	}

	public void setPercent2(String percent2) {
		this.percent2 = percent2;
	}

}
